package cn.net.codeplus.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author gaojun.zhou
 * @since 2018-03-01
 */
@TableName("tb_user")
public class User extends SuperEntity<User> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户名
     */
    private String userName;
    /**
     * 密码
     */
    private String userPass;
    /**
     * 状态
     */
    private Integer userState;


    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPass() {
        return userPass;
    }

    public void setUserPass(String userPass) {
        this.userPass = userPass;
    }

    public Integer getUserState() {
        return userState;
    }

    public void setUserState(Integer userState) {
        this.userState = userState;
    }

    @Override
    public String toString() {
        return "User{" +
        ", id=" + this.getId() +
        ", userName=" + userName +
        ", userPass=" + userPass +
        ", userState=" + userState +
        "}";
    }
}
